package com.k2data.k2app.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lidong9144@163.com 17-3-16.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MonitorDTO implements Serializable {

    @JsonIgnore
    @Transient
    private static final long serialVersionUID = -2324005509642936392L;

    private Long id;
    private Long monitorPointId;
    private Long tMonitorPointId;
    private String variableName;
    private String variableNameEn;
    private String variableType;
    private String unit;
    private String kmxVariableName;
    private String kmxVariableNameEn;
    private String kmxVariableType;
    private String kmxUnit;
    private String standardValue;
    private Double frequency;
    private String category;
    private Double max;
    private Double min;
    private Integer type;
    private Double gtLimit;
    private Double ggtLimit;
    private Double ltLimit;
    private Double gltLimit;

    private String sensorName;
    private String sensorType;
    private String sensorNameEn;

    private String nameEn;

    private Long variableId;
    private String name;
    private String rule;
    private Double value;

    private String kmxValue;
    private Boolean isKeyValue;
    private String limitType;

    private Long rid;
    private Integer channelId;
    private String channelName;
    private Integer num;

    private String deviceName;
    private Long deviceId;
    private Integer state;
    private Long rootId;

    private MonitorPointDTO point;
    private Long timeStamp;

}
